﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;
using System.ComponentModel.Composition;
using Acceron.University.Core.Imagings;

namespace HomeModuleAddin
{
    [Export(typeof(Acceron.University.Core.Addins.Contracts.IModuleContract))]
    public class HomeAddin : Acceron.University.Core.Addins.Contracts.IModuleContract
    {
        private UserControl1 ctrl = new UserControl1();
        
        public System.Windows.Media.ImageSource Source
        {
            get
            {
                return HomeModuleAddin.Properties.Resources.home.ToImageSource();
            }
        }

        public string Name
        {
            get { return "Home Addin"; }
        }

        public string Description
        {
            get { return "Home addin"; }
        }

        public System.Windows.Controls.UserControl Control
        {
            get { return ctrl; }
        }
    }
}
